import { createRouter, createWebHistory } from 'vue-router'
import Home from './components/Home.vue'
import Yuedu from './views/Yuedu.vue'
import Wenda from './views/Wenda.vue'
import Diantai from './views/Diantai.vue'
import Faxian from './components/Faxian.vue'
import Lianzai from './components/Lianzai.vue'
import Wode from './components/Wode.vue'
import Lzmulu from './views/Lzmulu.vue'
import Lzwzxx from './views/Lzwzxx.vue'
import Ztmulu from './views/Ztmulu.vue'
import Rebang from './views/Rebang.vue'
import Xiaoji from './views/Xiaoji.vue'
import Zuozhexx from './views/Zuozhexx.vue'
import Sousuoyemian from './views/Sousuoyemian.vue'
import Wdgzym from './views/Wdgzym.vue'

const routes = [
    {
        path: '/',
        redirect: '/home'
    },
    {
        path: '/home',
        name: 'Home',
        component: Home,
    },
    {
        path: '/yuedu',
        name: 'Yuedu',
        component: Yuedu,
    },
    {
        path: '/wenda',
        name: 'Wenda',
        component: Wenda,
    },
    {
        path: '/diantai',
        name: 'Diantai',
        component: Diantai,
    },
    {
        path: '/faxian',
        name: 'Faxian',
        component: Faxian,
    },
    {
        path: '/lianzai',
        name: 'Lianzai',
        component: Lianzai,
    },
    {
        path: '/wode',
        name: 'Wode',
        component: Wode,
    },
    {
        path: '/lzmulu',
        name: 'Lzmulu',
        component: Lzmulu,
    },
    {
        path: '/lzwzxx',
        name: 'Lzwzxx',
        component: Lzwzxx,
    },
    {
        path: '/ztmulu',
        name: 'Ztmulu',
        component: Ztmulu,
    },
    {
        path: '/rebang',
        name: 'Rebang',
        component: Rebang,
    },
    {
        path: '/xiaoji',
        name: 'Xiaoji',
        component: Xiaoji,
    },
    {
        path: '/zuozhexx',
        name: 'Zuozhexx',
        component: Zuozhexx,
    },
    {
        path: '/sousuoyemian',
        name: 'Sousuoyemian',
        component: Sousuoyemian,
    },
    {
        path: '/wdgzym',
        name: 'Wdgzym',
        component: Wdgzym,
    }
]


const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router